package com.unionftech.content_login.contract

import com.unionftech.common.base.mvp.IBasePresenter
import com.unionftech.common.base.mvp.IBaseView
import com.unionftech.common.base.mvp.impl.IBaseCallBack
import com.unionftech.common.bean.ResponseResult
import com.unionftech.content_login.bean.LoginTokenInfo
import com.unionftech.content_login.bean.request.RegisterRequest

interface RegisterContract {
    interface IRegisterView : IBaseView {
        fun registerResult(response: ResponseResult<LoginTokenInfo>)
    }

    interface IRegisterPresenter : IBasePresenter {
        fun unionfRegister(registerRequest: RegisterRequest)
    }

    interface IRegisterModel {
        fun unionfRegister(
            registerRequest: RegisterRequest,
            callBack: IBaseCallBack<ResponseResult<LoginTokenInfo>>?
        )
    }


}